package com.designpattern.state;

import lombok.Data;

@Data
public class Content {

    private State state;

    public Content(State state) {
        this.state = state;
    }

    public void request() {
        state.handle(this);
    }
}
